package com.zzptc;

public class Generate extends Thread {
	private Storage s;
	public Generate(Storage s){
		this.s=s;
	}
	public void run(){
		for(int i=1;i<6;i++){
			s.put(i);
			System.out.println("Generate:"+i);
		}
	}
}
